﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EQual.MainModule.Audits
{
    public class AuditsPresentationModel : EQual.Infrastructure.MVPFramework.Models.PresentationModelBase<DataAccesLayer.Audit >
    {
        public AuditsPresentationModel()
        {
            DataFactory = new DataAccesLayer.EQualDataLayerFactory();
        }

        protected override IEnumerable <DataAccesLayer .Audit > GetCollection()
        {
            return DataFactory.GetProjectsAccesLayer().GetAudits() as IEnumerable<DataAccesLayer.Audit>;
        }
    }
}
